package com.wisdytech.linkdcs.pad.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-08-15
 */
@TableName("TT_QM_ISSUE")
public class Issue extends Model<Issue> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 生产订单Id
     */
    @TableField("MO_ID")
    private String moId;
    /**
     * 产线id
     */
    @TableField("LINE_ID")
    private String lineId;
    /**
     * 工序id
     */
    @TableField("OP_ID")
    private String opId;
    /**
     * 产品id
     */
    @TableField("PRODUCT_ID")
    private String productId;
    /**
     * 设备id
     */
    @TableField("EQUIP_ID")
    private String equipId;
    /**
     * 设备编号
     */
    @TableField("EQUIP_CODE")
    private String equipCode;
    /**
     * 设备名称
     */
    @TableField("EQUIP_NAME")
    private String equipName;
    /**
     * 班组id
     */
    @TableField("SHIFT_ID")
    private String shiftId;
    /**
     * 异常主题
     */
    @TableField("ISSUE_SUBJECT")
    private String issueSubject;
    /**
     * 异常描述
     */
    @TableField("ISSUE_DESC")
    private String issueDesc;
    /**
     * 异常等级
     */
    @TableField("ISSUE_LEVEL")
    private String issueLevel;
    /**
     * 发生时间
     */
    @TableField("HAPPEN_DATE")
    private Date happenDate;
    /**
     * 投料数量
     */
    @TableField("FEED_QTY")
    private Double feedQty;
    /**
     * 不良数量
     */
    @TableField("NG_QTY")
    private Double ngQty;
    /**
     * 单位
     */
    @TableField("UNIT")
    private String unit;
    /**
     * 是否停线
     */
    @TableField("IS_STOP")
    private String isStop;
    /**
     * 停线时间
     */
    @TableField("STOP_TIMES")
    private Double stopTimes;
    /**
     * 停线工序id
     */
    @TableField("STOP_OPS")
    private String stopOps;
    /**
     * 责任部门
     */
    @TableField("DUTY_DEPART")
    private String dutyDepart;
    /**
     * 责任人
     */
    @TableField("DUTY_USER")
    private String dutyUser;
    /**
     * 报告日期
     */
    @TableField("REPORT_DATE")
    private Date reportDate;
    /**
     * 报告人
     */
    @TableField("REPORT_USER")
    private String reportUser;
    /**
     * 异常状态
     */
    @TableField("ISSUE_STATUS")
    private String issueStatus;
    /**
     * 分析人
     */
    @TableField("ANALYSE_USER")
    private String analyseUser;
    /**
     * 分析日期
     */
    @TableField("ANALYSE_DATE")
    private Date analyseDate;
    /**
     * 分析原因
     */
    @TableField("ANALYSE_REASON")
    private String analyseReason;
    /**
     * 评审角色
     */
    @TableField("REVIEW_ROLE")
    private String reviewRole;
    /**
     * 评审人
     */
    @TableField("REVIEW_USER")
    private String reviewUser;
    /**
     * 评审日期
     */
    @TableField("REVIEW_DATE")
    private Date reviewDate;
    /**
     * 评审内容
     */
    @TableField("REVIEW_DESC")
    private String reviewDesc;
    /**
     * 决定人
     */
    @TableField("DECIDE_USER")
    private String decideUser;
    /**
     * 决定日期
     */
    @TableField("DECIDE_DATE")
    private Date decideDate;
    /**
     * 决定内容
     */
    @TableField("DECIDE_DESC")
    private String decideDesc;
    /**
     * 解决人
     */
    @TableField("SOLVE_USER")
    private String solveUser;
    /**
     * 解决日期
     */
    @TableField("SOLVE_DATE")
    private Date solveDate;
    /**
     * 纠正措施
     */
    @TableField("SOLVE_DESC")
    private String solveDesc;
    /**
     * 预防措施
     */
    @TableField("PREVENT_DESC")
    private String preventDesc;
    /**
     * 关闭人
     */
    @TableField("CLOSE_USER")
    private String closeUser;
    /**
     * 关闭日期
     */
    @TableField("CLOSE_DATE")
    private Date closeDate;
    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 创建记录人
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 更新记录人
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;
    /**
     * 异常原因
     */
    @TableField("ISSUE_REASON")
    private String issueReason;
    /**
     * 确认人
     */
    @TableField("CONFIRM_USER")
    private String confirmUser;
    /**
     * 确认时间
     */
    @TableField("CONFIRM_DATE")
    private Date confirmDate;
    /**
     * 确认结果
     */
    @TableField("CONFIRM_RESULT")
    private String confirmResult;
    /**
     * 确认说明
     */
    @TableField("CONFIRM_DESC")
    private String confirmDesc;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getMoId() {
        return moId;
    }

    public void setMoId(String moId) {
        this.moId = moId;
    }

    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public String getOpId() {
        return opId;
    }

    public void setOpId(String opId) {
        this.opId = opId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getEquipId() {
        return equipId;
    }

    public void setEquipId(String equipId) {
        this.equipId = equipId;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getShiftId() {
        return shiftId;
    }

    public void setShiftId(String shiftId) {
        this.shiftId = shiftId;
    }

    public String getIssueSubject() {
        return issueSubject;
    }

    public void setIssueSubject(String issueSubject) {
        this.issueSubject = issueSubject;
    }

    public String getIssueDesc() {
        return issueDesc;
    }

    public void setIssueDesc(String issueDesc) {
        this.issueDesc = issueDesc;
    }

    public String getIssueLevel() {
        return issueLevel;
    }

    public void setIssueLevel(String issueLevel) {
        this.issueLevel = issueLevel;
    }

    public Date getHappenDate() {
        return happenDate;
    }

    public void setHappenDate(Date happenDate) {
        this.happenDate = happenDate;
    }

    public Double getFeedQty() {
        return feedQty;
    }

    public void setFeedQty(Double feedQty) {
        this.feedQty = feedQty;
    }

    public Double getNgQty() {
        return ngQty;
    }

    public void setNgQty(Double ngQty) {
        this.ngQty = ngQty;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getIsStop() {
        return isStop;
    }

    public void setIsStop(String isStop) {
        this.isStop = isStop;
    }

    public Double getStopTimes() {
        return stopTimes;
    }

    public void setStopTimes(Double stopTimes) {
        this.stopTimes = stopTimes;
    }

    public String getStopOps() {
        return stopOps;
    }

    public void setStopOps(String stopOps) {
        this.stopOps = stopOps;
    }

    public String getDutyDepart() {
        return dutyDepart;
    }

    public void setDutyDepart(String dutyDepart) {
        this.dutyDepart = dutyDepart;
    }

    public String getDutyUser() {
        return dutyUser;
    }

    public void setDutyUser(String dutyUser) {
        this.dutyUser = dutyUser;
    }

    public Date getReportDate() {
        return reportDate;
    }

    public void setReportDate(Date reportDate) {
        this.reportDate = reportDate;
    }

    public String getReportUser() {
        return reportUser;
    }

    public void setReportUser(String reportUser) {
        this.reportUser = reportUser;
    }

    public String getIssueStatus() {
        return issueStatus;
    }

    public void setIssueStatus(String issueStatus) {
        this.issueStatus = issueStatus;
    }

    public String getAnalyseUser() {
        return analyseUser;
    }

    public void setAnalyseUser(String analyseUser) {
        this.analyseUser = analyseUser;
    }

    public Date getAnalyseDate() {
        return analyseDate;
    }

    public void setAnalyseDate(Date analyseDate) {
        this.analyseDate = analyseDate;
    }

    public String getAnalyseReason() {
        return analyseReason;
    }

    public void setAnalyseReason(String analyseReason) {
        this.analyseReason = analyseReason;
    }

    public String getReviewRole() {
        return reviewRole;
    }

    public void setReviewRole(String reviewRole) {
        this.reviewRole = reviewRole;
    }

    public String getReviewUser() {
        return reviewUser;
    }

    public void setReviewUser(String reviewUser) {
        this.reviewUser = reviewUser;
    }

    public Date getReviewDate() {
        return reviewDate;
    }

    public void setReviewDate(Date reviewDate) {
        this.reviewDate = reviewDate;
    }

    public String getReviewDesc() {
        return reviewDesc;
    }

    public void setReviewDesc(String reviewDesc) {
        this.reviewDesc = reviewDesc;
    }

    public String getDecideUser() {
        return decideUser;
    }

    public void setDecideUser(String decideUser) {
        this.decideUser = decideUser;
    }

    public Date getDecideDate() {
        return decideDate;
    }

    public void setDecideDate(Date decideDate) {
        this.decideDate = decideDate;
    }

    public String getDecideDesc() {
        return decideDesc;
    }

    public void setDecideDesc(String decideDesc) {
        this.decideDesc = decideDesc;
    }

    public String getSolveUser() {
        return solveUser;
    }

    public void setSolveUser(String solveUser) {
        this.solveUser = solveUser;
    }

    public Date getSolveDate() {
        return solveDate;
    }

    public void setSolveDate(Date solveDate) {
        this.solveDate = solveDate;
    }

    public String getSolveDesc() {
        return solveDesc;
    }

    public void setSolveDesc(String solveDesc) {
        this.solveDesc = solveDesc;
    }

    public String getPreventDesc() {
        return preventDesc;
    }

    public void setPreventDesc(String preventDesc) {
        this.preventDesc = preventDesc;
    }

    public String getCloseUser() {
        return closeUser;
    }

    public void setCloseUser(String closeUser) {
        this.closeUser = closeUser;
    }

    public Date getCloseDate() {
        return closeDate;
    }

    public void setCloseDate(Date closeDate) {
        this.closeDate = closeDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIssueReason() {
        return issueReason;
    }

    public void setIssueReason(String issueReason) {
        this.issueReason = issueReason;
    }

    public String getConfirmUser() {
        return confirmUser;
    }

    public void setConfirmUser(String confirmUser) {
        this.confirmUser = confirmUser;
    }

    public Date getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Date confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getConfirmResult() {
        return confirmResult;
    }

    public void setConfirmResult(String confirmResult) {
        this.confirmResult = confirmResult;
    }

    public String getConfirmDesc() {
        return confirmDesc;
    }

    public void setConfirmDesc(String confirmDesc) {
        this.confirmDesc = confirmDesc;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "Issue{" +
        ", pkId=" + pkId +
        ", moId=" + moId +
        ", lineId=" + lineId +
        ", opId=" + opId +
        ", productId=" + productId +
        ", equipId=" + equipId +
        ", equipCode=" + equipCode +
        ", equipName=" + equipName +
        ", shiftId=" + shiftId +
        ", issueSubject=" + issueSubject +
        ", issueDesc=" + issueDesc +
        ", issueLevel=" + issueLevel +
        ", happenDate=" + happenDate +
        ", feedQty=" + feedQty +
        ", ngQty=" + ngQty +
        ", unit=" + unit +
        ", isStop=" + isStop +
        ", stopTimes=" + stopTimes +
        ", stopOps=" + stopOps +
        ", dutyDepart=" + dutyDepart +
        ", dutyUser=" + dutyUser +
        ", reportDate=" + reportDate +
        ", reportUser=" + reportUser +
        ", issueStatus=" + issueStatus +
        ", analyseUser=" + analyseUser +
        ", analyseDate=" + analyseDate +
        ", analyseReason=" + analyseReason +
        ", reviewRole=" + reviewRole +
        ", reviewUser=" + reviewUser +
        ", reviewDate=" + reviewDate +
        ", reviewDesc=" + reviewDesc +
        ", decideUser=" + decideUser +
        ", decideDate=" + decideDate +
        ", decideDesc=" + decideDesc +
        ", solveUser=" + solveUser +
        ", solveDate=" + solveDate +
        ", solveDesc=" + solveDesc +
        ", preventDesc=" + preventDesc +
        ", closeUser=" + closeUser +
        ", closeDate=" + closeDate +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        ", issueReason=" + issueReason +
        ", confirmUser=" + confirmUser +
        ", confirmDate=" + confirmDate +
        ", confirmResult=" + confirmResult +
        ", confirmDesc=" + confirmDesc +
        "}";
    }
}
